@extends(config('admin.systems.layout_blade'))

@section('content')
    <!-- Info boxes -->
    <div class="row">
        <div class="col-md-3 col-sm-6 col-xs-12">
            <div class="info-box">
                <span class="info-box-icon bg-aqua"><i class="ion fa-list"></i></span>

                <div class="info-box-content">
                    <span class="info-box-text">栏目</span>
                    <span class="info-box-number">{{ get_value($count, 'category', 0) }}</span>
                </div>
                <!-- /.info-box-content -->
            </div>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->
        <div class="col-md-3 col-sm-6 col-xs-12">
            <div class="info-box">
                <span class="info-box-icon bg-red"><i class="fa fa-file-photo-o"></i></span>

                <div class="info-box-content">
                    <span class="info-box-text">图集总数</span>
                    <span class="info-box-number">{{ get_value($count, 'photo', 0) }}</span>
                </div>
                <!-- /.info-box-content -->
            </div>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->

        <!-- fix for small devices only -->
        <div class="clearfix visible-sm-block"></div>

        <div class="col-md-3 col-sm-6 col-xs-12">
            <div class="info-box">
                <span class="info-box-icon bg-green"><i class="ion fa-file-text-o"></i></span>

                <div class="info-box-content">
                    <span class="info-box-text">资讯</span>
                    <span class="info-box-number">{{ get_value($count, 'news', 0) }}</span>
                </div>
                <!-- /.info-box-content -->
            </div>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->
        <div class="col-md-3 col-sm-6 col-xs-12">
            <div class="info-box">
                <span class="info-box-icon bg-yellow"><i class="ion fa-columns"></i></span>

                <div class="info-box-content">
                    <span class="info-box-text">单页</span>
                    <span class="info-box-number">{{ get_value($count, 'page', 0) }}</span>
                </div>
                <!-- /.info-box-content -->
            </div>
            <!-- /.info-box -->
        </div>
        <!-- /.col -->
    </div>
    <!-- /.row -->

    <!-- Main row -->
    <div class="row">
        <div class="col-md-12">
            <iframe src="{{ get_admin_url('config/setting') }}" width="100%" height="800" frameborder="0"></iframe>
        </div>
    </div>
    <!-- /.row -->
@endsection